<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>DreStarting-搜索结果</title>
  <!--    抽取公共头部-->
  <div th:replace="share/common :: head"></div>
</head>
<body>

<!--    抽取公共导航-->
<div th:replace="share/common :: menu(20)"></div>


<!--顶部图片-->
<div class="m-bg-type_outer" style="width: 100%;height: 40%">
  <img src="../static/images/typebg.jpg" th:src="@{/images/searchBg.jpg}" alt="" class="ui m-bg image" style="width: 100%;height: 100%">
  <div class="m-bg-class_cover">
    <div class="ui container" style="position: relative ;bottom: -540px;" id="waypoint">
      <div class="m-font-size-title m-right-bottom" align="center" style="font-family:'STXingkai'">搜索结果</div>
      <div class="m-font-size-text-init-title m-margin-top" align="center">人生，就是一个不断寻找的过程</div>
    </div>
  </div>
</div>

  <!--中间内容-->
  <div  class="m-margin-">
    <div class="ui container">
      <!--header-->
      <div class="ui top attached segment">
        <div class="ui middle aligned two column grid">
          <div class="column">
            <h3 class="ui teal header">搜索结果</h3>
          </div>
          <div class="right aligned column">
            共 <h2 class="ui orange header m-inline-block m-text-thin" th:text="${pager.size}"> 14 </h2> 个
          </div>
        </div>
      </div>

      <div class="ui top attached segment">
        <div class="ui padded vertical segment m-padded-tb-large" th:each="blog:${pager.datas}">
          <div class="ui middle aligned mobile reversed stackable grid" >
            <div class="eleven wide column">
              <h3 class="ui header" ><a href="#" th:href="@{/blog/{blogId}(blogId=${blog.blogId})}" th:text="${blog.title}">大圣，此去欲何?</a></h3>
              <p class="m-text m-margin-top-max" th:text="|${blog.description}......|">戴上金箍，没法爱你；放下金箍，没法保护你。我知道上天不会给我第二次机会，曾经我们说好的永远，原来也仅仅只有，十二画，而已。“大圣，此去欲何?”“踏南天，碎凌霄。”“若一去不回……”“便一去不回” 其实很多时候，我们都是有机会的，最后真正放弃的，是我们自己。......</p>
              <div class="ui grid m-margin-top-max">
                <div class="eleven wide column">
                  <div class="ui mini horizontal link list">
                    <div class="item">
                      <img src="../static/images/me.jpg" th:src="@{${blog.userImg}}" alt="" class="ui avatar image">
                      <div class="content"><a href="#" th:href="@{/about}" th:src="@{${blog.nickname}}" target="_blank" class="header">oneStar</a></div>
                    </div>
                    <div class="item">
                      <i class="calendar icon"></i><span th:text="${blog.formateTime(blog.update_time)}">2020-01-01</span>
                    </div>
                    <div class="item">
                      <i class="eye icon"></i> <span th:text="${blog.views}">2222</span>
                    </div>
                    <div class="item">
                      <i class="comment outline icon"></i> <span th:text="${blog.comment_count}">2222</span>
                    </div>
                  </div>
                </div>
                <div class="right aligned five wide column">
                  <a th:text="${blog.typesName}" target="_blank" class="ui teal basic label m-padded-tiny m-text-thin">好文</a>
                </div>
              </div>
            </div>

            <!--博文首图-->
            <div class="five wide column">
              <a href="#" target="_blank" th:href="@{/blog/{blogId}(blogId=${blog.blogId})}">
                <img src="../static/images/backimg1.jpg" th:src="@{${blog.img}}" alt="" class="ui rounded image">
              </a>
            </div>

          </div>
        </div>
      </div>
    </div>
  </div>


<!--置顶图标-->
<div id="toolbar" class="m-padded m-fixed m-right-bottom" style="display: none">
  <div class="ui vertical icon buttons ">
    <div class="ui center aligned basic segment" style="margin-bottom: 0">
      <button id="payButton" class="ui orange basic circular button">滴滴</button>
    </div>
    <a href="#" class="ui center aligned basic segment icon" style="margin-top: 0"><i class="ui medium orange chevron up icon"></i> </a>
  </div>
</div>


  <br>
  <br>


<!--    抽取公共footer    -->
<div th:replace="share/common :: #footer"></div>


<!--    抽取公共js    -->
<div th:replace="share/common :: #js"></div>
  <script>
    $('.menu.toggle').click(function () {
      $('.m-item').toggleClass('m-mobile-hide');
    });

  </script>
</body>
</html>